﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.DomainModels;

namespace VOL.Team.TeamIServices.ProductManagement.IServices
{
    /// <summary>
    /// 生产管理-工单台账-xzc
    /// </summary>
    public interface ITicketLedgerServices
    {
        /// <summary>
        /// 生产管理-工单甘特图-新增工单台账-xzc
        /// </summary>
        /// <param name="ticketledger"></param>
        /// <returns></returns>
        Task<int> AddTicketLedger(TicketLedger ticketledger);
        /// <summary>
        /// 生产管理-工单甘特图-修改工单台账-xzc
        /// </summary>
        /// <param name="ticketledger"></param>
        /// <returns></returns>
        Task<int> UpdateTicketLedger(TicketLedger ticketledger);
        /// <summary>
        /// 生产管理-工单甘特图-查询工单台账-xzc
        /// </summary>
        /// <param name="ticketledger"></param>
        /// <returns></returns>
        IQueryable<TicketLedger> GetTicketLedgerList(string? tickeNumber, int? ordersState);
        /// <summary>
        /// 生产管理-新增甘特图-BOM查询-xzc
        /// </summary>
        /// <param name="boms"></param>
        /// <returns></returns>
        IQueryable<BOM> GetBOM();
        /// <summary>
        /// 生产管理-新增甘特图-工艺路线查询-xzc
        /// </summary>
        /// <param name="boms"></param>
        /// <returns></returns>
        IQueryable<Operational> GetOperational();
    }
}
